Ext.define('BISC.view.PropertiesPanel', {
    extend: 'Ext.panel.Panel',

    style: 'background-color: white',
    initComponent: function() {
        var me = this;
        var image = { id: null };

        Ext.applyIf(me, {
            items: [
                {
                    xtype: 'dataview',
                    cls: 'properties',
                    id: 'propertiesView',
                    tpl: [
                        '<tpl for=".">',
                            '<div class="property">',
                                '{title}: <span style="font-weight: bold;">{name}</span>',
                            '</div>',
                        '</tpl>'
                    ],
                    emptyText: 'This image has to metadata.',
                    itemSelector: 'div.property'
                }
            ]
        });

        me.callParent(arguments);
    }

});
